package com.itheima.service;

import com.itheima.pojo.Member;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface MemberService {

    // 查询会员
    public Member findByTelephone(String telephone);

    // 注册会员
    public void add(Member member);

    // 查询会员人数
    public List<Integer> findMemberCountByMonth(List<String> months);
}
